package win.demonlegion.eshimin.config;

import lombok.Data;
import lombok.ToString;
import org.springframework.context.annotation.Configuration;

@Data
@ToString
@Configuration
public class EshiminConfig {
    private String appKey = "cYwGPdUxbs";
    private String appSecret = "eMKHfvygh8uwZc0ZPalg9SO2JETH8W57Blpsp3QV";
    private String accessTokenUrl = "https://api.eshimin.com/api/oauth/token";
    private String userBasicUrl = "https://api.eshimin.com/api/v2/user/basic/";
    private String userIdentityUrl = "https://api.eshimin.com/api/v2/user/identity/";

    private String redirectUri = "https://qqz51fbc1e4.ngrok.wendal.cn/callback/eshimin";

    private String testGatewayUrl = "https://shdistrict-test.eshimin.com/qyyfw-admin/api/gateway";
    private String procGatewayUrl = "https://shdistrict.eshimin.com/qyyfw-admin/api/gateway";
    private String testPublicKey = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoM9AWwF/EM+Z+WdIWKZBqEva5dZVuZBVLKnwirOi9UUr3jpuFB1H2njx2ci0h1LbFT3Cmf8dhl1xXE6hfD1qscy/sqEZfQqije5AgU5zZxU2qjRQRL3QSzXp1rYkXUsorY3aLfQzn+ojQdpeyuGRMKnTHuueslaZHyGgqW+H9yYHJzMJcqExdJBthoIUP+uO1dW6Pp4Up4IHQ4qt9MPiJssUfmUurvLkEYO3do3fJVS+5B1rv46wr5ZHClviY18q5ceEuhf3pJbv87UbqgKmv3LfcvEVdeSzT4WggSJeeP1Rme0k2MgoxGm83N7SowljIekilMJCggAwOitiEaGeswIDAQAB";
    private String procPublicKey = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoTxvb79XYee1sV8Q1tIezV8Ly6uEv1g2/axJ3PnZAjkA/kmHLkIbZSZYrhrff4b7+z5D12Bjjmi7JfkFxPFpC6pwGzJOSn5FDm722DKgr6zXJ2igrcbL4LekQ4PA7B5AkFOrXCUSDUpzMlhGzkeWo6kkqmuqw/UjH4M4DutoJQtGS8wcWzsva3UoyBBXTzU0z613x9fu6aOIfg6vTnfiFqjCQJ6321a+IzgthYORLrmZBDqwmogV2tHBJJ4F1v2nR0zieuekJsQ2rRqa35eIADlYXlXkUkKN1E8POq4ixRb32LKyIRgmv+rFJ2CIqhSjMbxWnW0AqZdg1l/Lq4b72wIDAQAB";
    private String clientId = "f7527ac3a39543fc870863cc8d032b94";
    private String clientSecret = "699142fa2d1946db886959c04de8f822";
    private String apiId = "473bbd625bcf11eb94b00050568d4e8c";
    private String aesKey = clientSecret.substring(0, 16);
    private String aesIv = clientSecret.substring(16);
}
